package org.jeecg.modules.parameter.api.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * @author P
 */

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sim_station", schema = "simulator")
@ApiModel(value = "sim_station", description = "参数-车站信息")
public class SimStation implements Serializable {

    @ApiModelProperty(value = "线路uuid，唯一标识")
    @TableId(type = IdType.ASSIGN_UUID,value = "id")
    private String id;

    @ApiModelProperty(value = "车站ID")
    @TableField(value = "station_id")
    private String stationId;

    @ApiModelProperty(value = "所属线路ID")
    @TableField(value = "line_id")
    private String lineId;

    @ApiModelProperty(value = "车站名称")
    @TableField(value = "station_name")
    private String stationName;

    @ApiModelProperty(value = "是否换乘站，0为非换乘站 ，1为换乘站")
    @TableField(value = "transfer_flag")
    private String transferFlag;

    @ApiModelProperty(value = "换乘id字符串，当前线路ID，换乘线路ID，eg：\"01,02\"")
    @TableField(value = "transfer_line_id")
    private String transferLineId;

    @ApiModelProperty(value = "换乘站ID")
    @TableField(value = "transfer_station_id")
    private String transferStationId;

    @ApiModelProperty(value = "车站序号")
    @TableField(value = "sort_no")
    private String sortNo;

    @ApiModelProperty(value = "数据中心标记，手动添加 01 (默认)，数据中心 02")
    @TableField(value = "data_center_flag")
    private String dataCenterFlag;

    @ApiModelProperty(value = "进站速度")
    @TableField(value = "default_in_speed")
    private String defaultInSpeed;

    @ApiModelProperty(value = "出站速度")
    @TableField(value = "default_out_speed")
    private String defaultOutSpeed;

    @ApiModelProperty(value = "操作状态，运营01(默认) ，停运02，限流03")
    @TableField(value = "operation_status")
    private String operationStatus;

    @ApiModelProperty(value = "运营开始时间")
    @TableField(value = "open_time")
    private String openTime;

    @ApiModelProperty(value = "运营结束时间")
    @TableField(value = "end_time")
    private String endTime;

    @ApiModelProperty(value = "线网图坐标")
    @TableField(value = "line_net_position")
    private String lineNetPosition;

    @ApiModelProperty(value = "地图坐标")
    @TableField(value = "map_offsetX")
    private String mapOffsetX;

    @ApiModelProperty(value = "地图坐标")
    @TableField(value = "map_offsetY")
    private String mapOffsetY;

    @ApiModelProperty(value = "是否热备(01 是， 02 否)")
    @TableField(value = "ishot")
    private String isHot;

    @ApiModelProperty(value = "备注")
    @TableField(value = "remark")
    private String remark;



//    @ApiModelProperty(value = "换乘id字符串转换结果")
//    private Map<String, Object> transferLineColor;


}
